<?php
/**
 * <b>RUBIK IT Solution & Development ltd.</b>
 *
 * PROJECT		: Rubik Ultimate Framework
 * @version 	: 1.1
 * COPYRIGHT    : 2008
 * ------------------------------------------------------
 * 
 * Created on	:  Jun 15, 2008
 * 
 */
error_reporting(FALSE);
// define not access directly
define ( '_FW_EXEC', true );

/*
2.	Táº¡i index.php Ä‘áº§u tiÃªn sáº½ khá»Ÿi táº¡o cÃ¡c constant cÆ¡ báº£n: 
 	a.	SYS_ROOT_PATH: Ä‘Æ°á»�ng dáº«n tá»›i nÆ¡i Ä‘áº·t source code cá»§a site.
		VD: D:\www\site_using_framework\
	b.	SYS_ROOT_URL: url dáº«n tá»›i nÆ¡i request site.
		VD: http://yourdomain.com/site_using_framework/
	c.	SYS_WORK_ZONE: work zone cÃ³ 2 loáº¡i:
		â€œfrontâ€�: Tá»©c lÃ  Ä‘ang lÃ m viá»‡c á»Ÿ front end
		â€œbackâ€�: Tá»©c lÃ  Ä‘ang lÃ m viá»‡c á»Ÿ back end
 */
define ( 'SYS_WORK_ZONE', 'back' );
require_once '../core/sysProcess/define.php';

// 3.	Sau Ä‘Ã³ index.php sáº½ gá»�i file initSystem.php Ä‘á»ƒ khá»Ÿi táº¡o cÃ¡c thÃ´ng sá»‘ cá»§a há»‡ thá»‘ng.
// 4.	Sau khi cÃ¡c thÃ´ng tin vá»� há»‡ thá»‘ng Ä‘Ã£ Ä‘Æ°á»£c khá»Ÿi táº¡o, 
//	application sáº½ Ä‘Æ°á»£c khá»Ÿi táº¡o thÃ´ng qua: runApplication.php
require_once '../core/sysProcess/mainProcess.php';
?>
<link rel="shortcut icon" href="<?php echo SYS_ROOT_URL?>files/favicon.jpg" type="image/x-icon" />
